package cn.stard.user.mapper;

import cn.stard.basic.dto.Longin;
import cn.stard.user.domain.Logininfo;
import cn.stard.basic.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stard
 * @since 2022-07-06
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo loadByUsername(@Param("username")String username,@Param("type")String type);

    Logininfo loadByUserId(Long userId);
}
